package com.shazhu.nongjt.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.shazhu.common.annotation.Excel;
import com.shazhu.common.core.domain.BaseEntity;

/**
 * 合格证统计信息对象 njt_qualification_statistics
 * 
 * @author shazhu
 * @date 2025-09-29
 */
public class NjtQualificationStatistics extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 用户完善信息ID */
    @Excel(name = "用户完善信息ID")
    private Long userPerfectId;

    /** 主体名称 */
    @Excel(name = "主体名称")
    private String subjectName;

    /** 开具数量 */
    @Excel(name = "开具数量")
    private Long issueCount;

    /** 最后开具时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后开具时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastIssueTime;

    /** 省 */
    @Excel(name = "省")
    private String province;

    /** 市 */
    @Excel(name = "市")
    private String city;

    /** 区/县 */
    @Excel(name = "区/县")
    private String area;

    /** 乡镇/街道 */
    @Excel(name = "乡镇/街道")
    private String country;

    /** 删除标记 */
    private Long delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUserPerfectId(Long userPerfectId) 
    {
        this.userPerfectId = userPerfectId;
    }

    public Long getUserPerfectId() 
    {
        return userPerfectId;
    }

    public void setSubjectName(String subjectName) 
    {
        this.subjectName = subjectName;
    }

    public String getSubjectName() 
    {
        return subjectName;
    }

    public void setIssueCount(Long issueCount) 
    {
        this.issueCount = issueCount;
    }

    public Long getIssueCount() 
    {
        return issueCount;
    }

    public void setLastIssueTime(Date lastIssueTime) 
    {
        this.lastIssueTime = lastIssueTime;
    }

    public Date getLastIssueTime() 
    {
        return lastIssueTime;
    }

    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }

    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }

    public void setArea(String area) 
    {
        this.area = area;
    }

    public String getArea() 
    {
        return area;
    }

    public void setCountry(String country) 
    {
        this.country = country;
    }

    public String getCountry() 
    {
        return country;
    }

    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userPerfectId", getUserPerfectId())
            .append("subjectName", getSubjectName())
            .append("issueCount", getIssueCount())
            .append("lastIssueTime", getLastIssueTime())
            .append("province", getProvince())
            .append("city", getCity())
            .append("area", getArea())
            .append("country", getCountry())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
